package com.yunhe.inspect.domain;

import com.yunhe.common.annotation.NameTitle;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: ItemPlan
 * @Description:
 * @author: GongDaCheng
 * @Date: 10:09 2021/11/9
 */
@Data
@ApiModel("项目计划")
public class ItemPlan implements Serializable {

    private static final long serialVersionUID = -1974268658024935959L;

    /**
     * id
     */
    @ApiModelProperty("id")
    private Long id;

    @ApiModelProperty("园区id")
    private Long stationId;

    /**
     * 所属部门
     */
    @ApiModelProperty("所属部门")
    private Long department;

    @ApiModelProperty("所属部门Title")
    @NameTitle(nameCode = "department",nameType = "ORG")
    private String departmentTitle;

    /**
     * 项目题型
     */
    @ApiModelProperty("项目题型")
    private String itemType;

    @ApiModelProperty("项目题型Title")
    private String itemTypeTitle;

    /**
     * 项目内容
     */
    @ApiModelProperty("项目内容")
    private String itemContent;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private Long createPerson;

    @ApiModelProperty("创建人姓名")
    @NameTitle(nameCode = "createPerson",nameType = "USER")
    private String createPersonName;

    /**
     * 更新人
     */
    @ApiModelProperty("更新人")
    private Long updatePerson;

    @ApiModelProperty("更新人姓名")
    @NameTitle(nameCode = "updatePerson",nameType = "USER")
    private String updatePersonName;

    /**
     * 是否删除
     */
    @ApiModelProperty("是否删除")
    private String isDelete;

    /**
     * 操作时间
     */
    @ApiModelProperty("操作时间")
    private Date OperationTime;

    public ItemPlan() {}
}
